#ifndef NAMEITEM_H
#define NAMEITEM_H

#include <QGraphicsTextItem>

class ChatWidget;

class NameItem : public QGraphicsTextItem
{
    Q_OBJECT
public:
    NameItem();
    ~NameItem();

    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);

    ChatWidget  *m_cw;

public slots:
    void closeChatWidget();
};

#endif // NAMEITEM_H
